projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e54833
)
Use the correct converter for odf files in doc-view
author
Shuguang Sun
<shuguang79@qq.com>
Fri, 21 Jan 2022 10:25:27 +0000
(11:25 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 21 Jan 2022 10:25:27 +0000
(11:25 +0100)
* lisp/doc-view.el (doc-view-pdf/ps->png): Use the correct
converter for odf files (bug#53354).
lisp/doc-view.el
patch
|
blob
|
history
diff --git
a/lisp/doc-view.el
b/lisp/doc-view.el
index 5b462b24f5ae51a7ca4758791925b55999b73932..5e160f5dff1277901325bf279590d9a2239847a3 100644
(file)
--- a/
lisp/doc-view.el
+++ b/
lisp/doc-view.el
@@
-1189,7
+1189,7
@@
is named like ODF with the extension turned to pdf."
"Convert PDF-PS to PNG asynchronously."
(funcall
(pcase doc-view-doc-type
- (
'pdf
doc-view-pdf->png-converter-function)
+ (
(or 'pdf 'odf)
doc-view-pdf->png-converter-function)
('djvu #'doc-view-djvu->tiff-converter-ddjvu)
(_ #'doc-view-ps->png-converter-ghostscript))
pdf-ps png nil